/*
** 属性映射文件：用来映射Halcon接口
*/

#ifndef MPROPERTYMAP_H
#define MPROPERTYMAP_H

#include <QObject>
#include <QQmlPropertyMap>
#include <QGuiApplication>


class MPropertyMap:public QObject
{
    Q_OBJECT
public:
    MPropertyMap(QObject *parent = nullptr);

    static MPropertyMap * GetInstance();
    void setRootObject(QObject *obj);
    Q_INVOKABLE void _connectType(QString data);

private:
    static MPropertyMap * instance;
    QObject *AppRoot;
};

#endif // MPROPERTYMAP_H
